package com.gxa.entity.commserve;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author yjl
 * @since 2022-10-12 11:18:00
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("t_lost_found")
@ApiModel(value = "LostFound对象", description = "")
public class LostFound implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键 ")
    @TableId(value = "lf_id", type = IdType.AUTO)
    private Integer lfId;

    @ApiModelProperty(value = "发布人")
    @TableField(value = "publisher")
    private String publisher;


    @ApiModelProperty(value = "招领内容 ")
    @TableField("contents")
    private String contents;

    @ApiModelProperty(value = "发布时间 ")
    @TableField("release_time")
    private Date releaseTime;

    @ApiModelProperty(value = "完成时间 ")
    @TableField("completion_time")
    private Date completionTime;

    @ApiModelProperty(value = "联系人")
    @TableField(value = "contacts")
    private String contacts;

    @ApiModelProperty(value = "联系人电话")
    @TableField(value = "contact_number")
    private String contactNumber;

    @ApiModelProperty(value = "联系地址")
    @TableField(value = "contact_address")
    private String contactAddress;

    @ApiModelProperty(value = "状态(0:发布中,1:已完成) ")
    @TableField("state")
    private Integer state;

    @ApiModelProperty(value = "假删除")
    @TableField("is_delete")
    @TableLogic
    private Integer isDelete;
}
